package cn.zeng.dto;

import lombok.Data;

import java.time.format.DateTimeFormatter;
import java.util.HashMap;
import java.util.Map;

/**
 * @author zyb
 */
@Data
public class AssessUser {
    public static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy年MM月dd日");
    private String id="123123123123112";
    private String name="nicaicai";
    private String gender="男";
    private String marriage="未婚";
    private String workUnit="闯奇";
    private int age=23;
    private String date="2017年12日12月";


    public Map<String,Object> toMap(){
        Map<String, Object> map = new HashMap<>(7);
        map.put("AssessUser_id", id);
        map.put("AssessUser_name", name);
        map.put("AssessUser_gender", gender);
        map.put("AssessUser_marriage", marriage);
        map.put("AssessUser_workUnit", workUnit);
        map.put("AssessUser_age", age);
        map.put("AssessUser_date", date);
        return map;
    }
}
